package com.chencs.common.lmadmin.service;


import com.chencs.common.lmadmin.mapper.LmWebBannerMapper;
import com.chencs.vo.biz.lianmeng.LmBanner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LmBannerService {


    @Autowired
    private LmWebBannerMapper webBannerMapper;

    public List<LmBanner> banner_list(){
       return  webBannerMapper.banner_list();
    }

     public  LmBanner findLmBannerById(String id){
       return webBannerMapper.findLmBannerById(id);
    }

    public  void  insertBannser(LmBanner banner){
         webBannerMapper.insertBannser(banner);
    }

    public void upateBannser(LmBanner banner){
        webBannerMapper.upateBannser(banner);
    }

    public void delBannser(String id){
        webBannerMapper.delBannser(id);
    }

}
